Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding equative type sentences #149

Merged
merged 3 commits into from
Jul 29, 2014
Merged

adding equative type sentences #149

merged 3 commits into from
Jul 29, 2014

Conversation

kkasunperera
Copy link
Contributor

@ruiting @amebel @linas please have a look on binary relationships.

"_nn(color, hair)\n"+
"_predadj(color, similar)\n"+
"of(that, Ben)\n"+
"to(similar, that)\n"+
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this of(that, Ben) and to(similar, that) correct and needed?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about the sentence "Jack’s hair color is similar to Ben's" ?

linas added a commit that referenced this pull request Jul 29, 2014
adding equative type sentences
@linas linas merged commit 0197fcd into opencog:master Jul 29, 2014
rc &= test_sentence ("Amen's hair is as long as Ben's.",
"_poss(hair, Amen)\n"+
"_predadj(hair, long)\n"+
"_as(long, hair)\n"+
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ruiting @linas is "_as(long, hair)" should be "_as(long, Ben)"?
coz dependencies comes as below right?
prep(long, as)
pobj(as, Ben)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand why it should be _as(long, Ben)? So first, the head of comparison entity is "hair" instead of "Ben". Second, if we want to keep all the comparatives representations consistent, we should use:

_compare(long, hair) 
_poss(hair, Amen)
as(Amen, Ben)

@linas
Copy link
Member

linas commented Aug 12, 2014

This line note:

@ruiting @linas is "_as(long, hair)" should be "_as(long, Ben)"?
coz dependencies comes as below right?
prep(long, as)
pobj(as, Ben)

Yes, it should be "_as(long, Ben)"

One of the other line notes asks that you add one more sentence here, too. Could you please fix?

rc &= test_sentence ("Jack is as intelligent as Ben.",
"_predadj(Jack, intelligent)\n"+
"_as(intelligent, Jack)\n"+
"_than(Jack, Ben)\n");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you want to keep consistence with the normal comparative representations, it should be like:

_comparative(intelligent, Jack)
_than(Jack, Ben)
degree(intelligent, equal)

but I guess this is too deep for RelEx... So I think we can use:

_comparative(intelligent, Jack)
as(Jack, Ben)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants